-
Notifications
You must be signed in to change notification settings - Fork 508
remove warning from nbdev as pkg_resources is already deprecated #1522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
nbdev/doclinks.py
Outdated
if incl_libs is not None and o.dist.key not in incl_libs: continue | ||
try: entries[o.name] = _qual_syms(o.resolve()) | ||
eps = importlib.metadata.entry_points() | ||
for o in eps.select(group='nbdev') if hasattr(eps, 'select') else eps.get('nbdev', []): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't appear to be valid python syntax. Be sure to carefully test all code you add before you put a PR in! I'll take a look at fixing this issue on my end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can see the error in the notebook.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jph00 I have constantly getting this warning in my nbdev projects for the last few months. Today is the day to fix it.